﻿{include file="public/header" /} 
<title>基本设置</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
	<span class="c-gray en">&gt;</span>
	系统管理
	<span class="c-gray en">&gt;</span>
	网站设置
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
	<form class="form form-horizontal" id="form-article-add" method="post" action="{:url('admin/conf/base')}">
		{empty name="data"}
		 <div id="tab-system" class="HuiTab">
			<div class="tabBar cl">
				<span>网站设置</span>
				<span>优化推广</span>
				<!--<span>安全设置</span>
				<span>邮件设置</span>-->
				<span>其他设置</span>
			</div>
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站状态：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						开启&nbsp;<input type="radio" name="web_status" id="" value="1"  checked="checked"/>
						关闭&nbsp;<input type="radio" name="web_status" id="" value="0" />
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站关闭时的提示信息：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<textarea class="textarea" name="web_close_word" style="" ></textarea>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						备案号：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="web_icp" placeholder="京ICP备00000000号" value="" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						站长邮箱：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" placeholder="" name="admin_email" value="" class="input-text">
					</div>
				</div>
				<!--<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						服务热线：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="hotline" placeholder="京ICP备00000000号" value="" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						公司地址：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="address"   placeholder="" value="" class="input-text">
					</div>
				</div>-->
			</div>
			
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站名称：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-title" placeholder="控制在25个字、50个字节以内" name="web_name" value="" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站关键词：</label>
					<div class="formControls col-xs-8 col-sm-9">
						
						<textarea class="textarea" name="keywords" style="" placeholder="5个左右,8汉字以内,用英文,隔开"></textarea>
						
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站描述：</label>
					<div class="formControls col-xs-8 col-sm-9">
					
						<textarea class="textarea" name="description" style="" placeholder="空制在80个汉字，160个字符以内"></textarea>
					</div>
				</div>
				
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						底部版权信息：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-copyright" placeholder="&copy; 2016 H-ui.net" name="copyright_word"  value="" class="input-text">
					</div>
				</div>
				
				
			</div>
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						服务热线：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="hotline" placeholder="" value="" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						公司地址：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="address"   placeholder="" value="" class="input-text">
					</div>
				</div>
			</div>
		</div>
		
		
		{else /}
		
		
		<div id="tab-system" class="HuiTab">
			<div class="tabBar cl">
				<span>网站设置</span>
				<span>优化推广</span>
				<!--<span>安全设置</span>
				<span>邮件设置</span>-->
				<span>其他设置</span>
			</div>
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站状态：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						开启&nbsp;<input type="radio" name="web_status" id="" value="1" {if condition="$data.web_status eq 1"}   checked="checked" {/if}/>
						关闭&nbsp;<input type="radio" name="web_status" id="" value="0" {if condition="$data.web_status eq 0"}   checked="checked" {/if}/>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站关闭时的提示信息：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<textarea class="textarea" name="web_close_word" style="" >{$data['web_close_word']}</textarea>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						备案号：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="web_icp" placeholder="京ICP备00000000号" value="{$data['web_icp']}" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						站长邮箱：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" placeholder="" name="admin_email" value="{$data['admin_email']}" class="input-text">
					</div>
				</div>
			</div>
			
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站名称：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-title" placeholder="控制在25个字、50个字节以内" name="web_name" value="{$data['web_name']}" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站关键词：</label>
					<div class="formControls col-xs-8 col-sm-9">
					
						<textarea class="textarea" name="keywords" style="" placeholder="5个左右,8汉字以内,用英文,隔开">{$data['keywords']}</textarea>
						
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						网站描述：</label>
					<div class="formControls col-xs-8 col-sm-9">
						
						<textarea class="textarea" name="description" style="" placeholder="空制在80个汉字，160个字符以内">{$data['description']}</textarea>
					</div>
				</div>
				
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						底部版权信息：</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-copyright" placeholder="&copy; 2016 H-ui.net" name="copyright_word"  value="{$data['copyright_word']}" class="input-text">
					</div>
				</div>
				
				
			</div>
			<div class="tabCon">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						服务热线：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="hotline" placeholder="" value="{$data['hotline']}" class="input-text">
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>
						公司地址：
					</label>
					<div class="formControls col-xs-8 col-sm-9">
						<input type="text" id="website-icp" name="address"   placeholder="" value="{$data['address']}" class="input-text">
					</div>
				</div>
			</div>
			
		</div>
		{/empty}
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button  class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存</button>
				<button  class="btn btn-default radius" type="reset">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>

{include file="public/footer" /} 

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__STATIC__/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript">
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	$("#tab-system").Huitab({
		index:0
	});
});
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
